package com.huang.mylibrary.db;

import android.util.Log;

import com.huang.mylibrary.bean.UserInfo;
import com.huang.mylibrary.dao.UserInfoDao;

import java.util.List;

public class UserInfoHelper extends BaseHelper<UserInfoDao>{


    public UserInfoHelper(UserInfoDao dao) {
        super(dao);
    }



    public void addUserInfo(List<UserInfo> list){
        dao.insertOrReplaceInTx(list);

    }


    public List<UserInfo> getUserInfo(){
     return dao.loadAll();
    }
}
